package com.smart.domain;


public class Lesson {
    private String name;
    private int startTime;
    private int stopTime ;

import java.io.Serializable;
import java.util.Date;

public class Lesson implements Serializable {
    private String name;
    private Date startTime;
    private Date stopTime ;

    private String nickName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public int getStartTime() {
        return startTime;
    }

    public void setStartTime(int startTime) {
        this.startTime = startTime;
    }

    public int getStopTime() {
        return stopTime;
    }

    public void setStopTime(int stopTime) {

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {

        this.stopTime = stopTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {

        return "Lesson{" + "name='" + name + '\'' + ", startTime=" + startTime + ", stopTime=" + stopTime + ", nickName='" + nickName + '\'' + '}';

        return "Lesson{" +
                "name='" + name + '\'' +
                ", startTime=" + startTime +
                ", stopTime=" + stopTime +
                ", nickName='" + nickName + '\'' +
                '}';

    }
}
